<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
		 isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
	<base href="<%=basePath%>">
	<title><s:message code="M_2200_PRD_MANAGEMENT_TAG"/></title>

	<style>
		#ppboxInfoGrdDiv {
			width: 97%;
		}

		.form-group {
			margin-bottom: 0px;
		}

	</style>
	<%@ include file="/page/comPage/comCSS.html"%>
	<%@ include file="/page/comPage/navbar.html"%>
</head>
<body>

<div class="container-fluid">
	<div class="col-lg-12 col-md-12 col-sm-12 btnDivCss">
		<button class="btn btn-danger" id="scrapped_btn"><s:message code="SCRP_TAG"/></button>

		<%--<button class="btn btn-warning" id="cancel_btn" hidden><s:message code="SCRP_CANCEL_TAG"/></button>--%>

		<button class="btn btn-primary" id="addRsn_btn"><s:message code="ADD_REASON_TAG"/></button>

		<button class="btn btn-info" id="delRsn_btn"><s:message code="DELETE_REASON_TAG"/></button>

		<button class="btn btn-primary" id="clean_btn"><s:message code="CLEAR_TAG"/></button>

	</div>

	<div class="col-lg-4 col-md-4 col-sm-4" id="leftDiv">
		<form class="form-horizontal">
			<fieldset>
				<legend> 请输入查询信息</legend>
			</fieldset>
			<div class="form-group" hidden>
				<label class="col-xs-3 control-label" for="boxIdI" style="text-align:left;">
					<s:message code="BOX_ID_TAG"/>
				</label>
				<div class="col-xs-6">
					<input type="text" id="boxIdI" class="form-control"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-3 control-label"  for ="prdSeqId" style="text-align:left;">
					<s:message code="SHEET_ID_TAG"/>
				</label>
				<div class="col-xs-6">
					<input type="text" id="prdSeqId" name ="prdSeqId" class="form-control"/>
				</div>
			</div>
		</form>
		<form class="form-horizontal">
			<fieldset>
				<legend>报废信息</legend>
			</fieldset>
			<div class="form-group">
				<label class="col-xs-3 control-label" for="boxIdI" style="text-align:left;">
					<s:message code="SCRP_MTRL_PROC_TAG"/>
				</label>
				<div class="col-xs-6">
					<select type="text" id="scrpMtrlProcId" class="form-control"></select>
				</div>
			</div>

			<div class="form-group">
				<label class="col-xs-3 control-label" for="boxIdI" style="text-align:left;">
					<s:message code="SCRP_DEST_TAG"/>
				</label>
				<div class="col-xs-6">
					<select type="text" id="scapDestId" class="form-control"></select>
				</div>
			</div>
		</form>
	</div>

	<div class="col-lg-8 col-md-8 col-sm-8" id="rightDiv">
		<div class="col-lg-6 col-md-6 col-sm-6">
			<fieldset>
				<legend> <s:message code="REASON_NO_TAG"/> </legend>
				<div class="col-lg-12 col-md-12 col-sm-12" id="rsnInfoGrdDiv">
					<table id="rsnInfoGrd" style="height: 1px;"></table>
					<div id="rsnInfoPg"></div>
				</div>
			</fieldset>
		</div>

		<div class="col-lg-6 col-md-6 col-sm-6">
			<form class="form-horizontal">
				<fieldset>
					<legend><s:message code="REMARK_INFO_TAG"/> </legend>
				</fieldset>

				<div class="form-group">
					<div class="col-xs-12">
						<textarea id="shtOpeMsg" class="form-control" rows="9"  style="resize:none;"></textarea>
					</div>
				</div>
			</form>
		</div>
	</div>

	<div class="col-lg-12 col-md-12 col-sm-12 UnderDiv">
		<fieldset>
			<legend> 产品信息
				<button class="btn btn-warning" id="delete_btn"><s:message code="DELETE_TAG"/></button>
			</legend>
			<div class="col-lg-12 col-md-12 col-sm-12" id="prdInfoGrdDiv">
				<table id="prdInfoGrd" style="height: 1px;"></table>
				<div id="prdInfoPg"></div>
			</div>
		</fieldset>
	</div>
</div>
<!-- 添加原因代码模态框 -->
<div id="addReasonDialog" class="modal fade" tabindex="-1"role="dialog" aria-labelledby="title" aria-hidden="true">
	<div class="modal-dialog" style="width:1000px;">
		<div class="modal-content">
			<!-- 模框头部 -->
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">×</button>
				<h4 class="modal-title"><s:message code="SELECT_REASON_TAG"/></h4>
			</div>
			<!-- 模框主体 -->
			<div class="modal-body">
				<div class="container-fluid">
					<div id="leftDiv1" class="col-lg-6 col-md-6 col-sm-6">
						<div class="col-lg-12 col-md-12 col-sm-12">
							<fieldset>
								<legend>请选择部门代码</legend>
							</fieldset>
							<form id="filterForm"
								  class="col-lg-12 col-md-12 col-sm-12 form-horizontal">
								<div class="form-group">
									<div class="col-lg-12 col-md-12 col-sm-12">
										<select id="deptId" class="form-control" style="width: 100%"></select>
									</div>
								</div>
							</form>
						</div>
						<div class="col-lg-12 col-md-12 col-sm-12">
							<fieldset>
								<legend><s:message code="SELECT_REASON_TAG"/></legend>
							</fieldset>
							<div id="modalReasonListDiv">
								<table id="modalReasonListGrd"></table>
								<div id="modalReasonListPg"></div>
							</div>
						</div>
					</div>
					<div id="rightDiv1" class="col-lg-6 col-md-6 col-sm-6">
						<div class="col-lg-12 col-md-12 col-sm-12">
							<fieldset>
								<legend>已选择原因代码</legend>
							</fieldset>
							<div id="reModalReasonListDiv">
								<table id="reModalReasonListGrd"></table>
								<div id="reModalReasonListPg"></div>
							</div>
						</div>
					</div>
				</div>
				<!-- 模框底部 -->
				<div class="modal-footer">
					<button type="button" class="btn btn-primary"
							id="reasonDialog_sureBtn">
						<s:message code="SURE_COMMIT_TAG" />
					</button>
					<button type="button" class="btn btn-default" data-dismiss="modal"
							id="reasonDialog_cancelBtn">
						<s:message code="CANCEL_TAG" />
					</button>
				</div>
			</div>
		</div>
	</div>
</div>
<%@ include file="/page/comPage/comJS.html"%>
<script src="js/page/2000/2200.js"></script>

</body>
</html>
